package edu.sctu.practice.class02.yangshengyu.two10;

/**
 * Created by Cullen on 2015/8/12.
 */
public class N29 {
    public static void main(String[] args) {
        int x=0;
        for (int i=100;i<=10000;i++){
            for(int j=2;j<i;j++){
                if(i%j==0 && i%10==3){
                    System.out.println(i+" ");
                    break;
                }else if (j>i){
                }
            }
        }
    }
}
